package com.buba.service.impl;

import com.buba.pojo.Job;
import com.buba.service.JobService;
import com.buba.service.OrderJobService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@DubboService
public class OrderJobServiceImpl implements OrderJobService {
    @DubboReference
    private JobService jobService;



    @Override
    public List<Job> selJobById(Integer employeeId) {

        return jobService.selJobById( employeeId);
    }

    @Override
    public List<Job> selJob() {
        return jobService.selJob();
    }

    @Override
    public Long addJob(Map<String, Object> map) {
        return jobService.addJob(map);
    }

    @Override
    public Integer delJobById(String jobId) {
        return jobService.delJobById(jobId);
    }


}
